<%--
  Created by IntelliJ IDEA.
  User: zyh
  Date: 2021/10/30
  Time: 9:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>新增</title>
</head>
<body>
<form method="post" action="${ctx}/emp?method=addEmp">
    <table>
        <tr>
            <td>账号</td>
            <td><input type='text' name='username'></td>
        </tr>
        <tr>
            <td>密码</td>
            <td><input type='password' name='pwd'></td>
        </tr>
        <tr>
            <td>性别</td>
            <td>
                    <input type='radio' name='sex' value='男' checked>男
                    <input type='radio' name='sex' value='女'>女

            </td>
        </tr>
        <tr>
            <td>工资</td>
            <td><input type='number' name='salary'></td>
        </tr>
        <tr>
            <td>部门</td>
            <td><input type='number' name='dno'></td>
        </tr>
        <tr>
            <td>日期</td>
            <td><input type='date' name='date'>
                <input type='hidden' name='eno'></td>
        </tr>
        <tr>
            <td><input type='submit'></td>
            <td><input type="reset"> </td>
        </tr>
    </table>
</form>
</body>
</html>
